"""
25 - Dars
"""


import random


USER_NUM = 0
CNT = 0
X = random.randint(1, 101)

while True:
    USER_NUM = int(input('Sonni toping: '))
    CNT += 1

    if USER_NUM == X:
        print(f'Siz {CNT} itta urinishda topdingiz!')
        print('O\'yiningiz uchun katta raxmat!')
        break
    if USER_NUM >= X:
        print('Raqam kichkina')
    elif USER_NUM <= X:
        print('Raqam katta')
    else:
        print('Bunday raqam kiritimagan')
